package day10Stringdemo;

import java.util.StringJoiner;

public class StringJoinerDemo {
    public static void main(String[] args) {
        StringJoiner sj = new StringJoiner(":)","(:",":)");
        String s = sj.add("aaa").add("bbb").add("ccc").toString();

        System.out.println(s);
    }
}
